home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
HPAVC
/
HPAVC CD-ROM.iso
/
PWAPCP02.ZIP
/
FTP
/
FTP.ZIP
/
FTP.PPE
(
.txt
)
< prev
next >
Wrap
PCBoard Programming Language Executable
|
1995-05-15
|
3KB
|
175 lines
;------------------------------------------------------------------------------
; .ss.
; `²²'
; .,sS$Ss,,s$ .,sS$$$Ss. .,sS$Ss,,s$ .ss. .sSs.
; .d$$²^°²$$$$'.d$P²°^^²$P'.d$$²^°²$$$$'.$$$' .$$$²Sb,.
; $$$' .$$$' $$$²Sçsµ²' .$$$' .$$$'.$$$' .$$$' `$$b.
; $$$b,,d$$$' ,$$$b,....,s$$$$b,,d$$$'.$$$;.,$$$' ;$$$
; `²S$$S²²S$$S²°²S$$$$S²°°²S$$$$$$',$$S²°²S$S'.sS$$$P²'
; .sS²°$$$²²°"' d²°'
; .$$² .$$'
; $$$.,d$$'
; `²S$$S²'
;------------------------------------------------------------------------------
; P.P.L.X. 2.OO (C)1996 - Lone Runner / AEGiS CoRP'96
;------------------------------------------------------------------------------
; PPE 3.1O (Encryption type I) - Analysis ON - Postprocessing ON
;------------------------------------------------------------------------------
Boolean BOOLEAN001
Boolean BOOLEAN002
Boolean BOOLEAN003
Boolean BOOLEAN004
Date DATE001
Integer INTEGER001
String STRING001
String STRING002
String STRING003
String STRING004
String STRING005
String STRING006
String STRING007
String STRING008
String STRING009
;------------------------------------------------------------------------------
Cls
BOOLEAN003 = 1
BOOLEAN004 = 1
STRING006 = "Y"
PrintLn "@X0FFTP by Email - Version .20b"
PrintLn "Nicks' World BBS - Home of NicksWare!"
PrintLn "Your Name and BBS Name Here if registered!"
PrintLn
PrintLn "THIS PRODUCT IS UNREGISTERED, PLEASE ASK YOUR SYSOP TO REGISTER IT!"
Wait
FOpen 1, PPEPath() + "FTP.CFG", 0, 0
FGet 1, INTEGER001
FClose 1
BOOLEAN004 = 1
PrintLn
Input "Enter HOST name", STRING007
PrintLn
Input "Enter UNIX directory", STRING008
PrintLn
If (BOOLEAN004) Then
Input "Enter FILENAME", STRING009
PrintLn
STRING006 = "Y"
InputYN "Is this a BINARY file (Y/N)", STRING006, 15
PrintLn
If (STRING006 == "Y") Then
BOOLEAN003 = 1
PrintLn "FILETYPE: BINARY"
Goto LABEL001
Endif
BOOLEAN003 = 0
PrintLn "FILETYPE: ASCII"
Endif
:LABEL001
PrintLn
Print "Creating FTP request...."
STRING005 = PPEPath() + "FTEMP" + String(PcbNode()) + ".TMP"
FCreate 1, STRING005, 1, 3
STRING001 = U_Name()
STRING003 = "ftpmail@sunsite.unc.edu"
STRING002 = " "
STRING004 = "R"
BOOLEAN001 = 0
BOOLEAN002 = 1
DATE001 = Date() + 3
FPutLn 1, "open ", STRING007
If (BOOLEAN004) Then
If (BOOLEAN003) Then
FPutLn 1, "binary"
FPutLn 1, "uuencode"
Goto LABEL002
Endif
FPutLn 1, "ascii"
Endif
:LABEL002
FPutLn 1, "cd ", STRING008
If (BOOLEAN004) Then
FPutLn 1, "get ", STRING009
Else
FPutLn 1, "dir"
Endif
FPutLn 1, "quit"
FClose 1
PrintLn "Done!"
STRING006 = "Y"
InputYN "Do you want to send this request (Y/N)", STRING006, 15
If (STRING006 == "Y") Then
PrintLn
PrintLn "Request sent!"
Message INTEGER001, STRING003, STRING001, STRING002, STRING004, DATE001, BOOLEAN001, BOOLEAN002, STRING005
Else
PrintLn
PrintLn "Request Aborted!"
Endif
PrintLn "Returning back to BBS"
Wait
PrintLn
PrintLn "THIS PRODUCT IS UNREGISTERED, PLEASE ASK YOUR SYSOP TO REGISTER IT!"
Wait
PrintLn "@X8FSHAREWAER DELAY IS 20 SECONDS...REGISTRATION REMOVES THIS DELAY AND ADDS"
PrintLn "GREAT FEATURES TO THE PRODUCT..........@X07"
Delay (20 * 182) / 10
End
;------------------------------------------------------------------------------
;
; Usage report (before postprocessing)
;
; ■ Statements used :
;
; 1 End
; 1 Cls
; 3 Wait
; 10 Goto
; 16 Let
; 1 Print
; 23 PrintLn
; 6 If
; 3 Input
; 1 FCreate
; 1 FOpen
; 2 FClose
; 1 FGet
; 8 FPutLn
; 2 InputYN
; 1 Delay
; 1 Message
;
;
; ■ Functions used :
;
; 1 *
; 1 /
; 5 +
; 2 ==
; 6 !
; 1 Date()
; 1 U_Name()
; 1 String()
; 2 PPEPath()
; 1 PcbNode()
;
;------------------------------------------------------------------------------
;
; Analysis flags : No flag
;
;------------------------------------------------------------------------------
;
; Postprocessing report
;
; 0 For/Next
; 0 While/EndWhile
; 6 If/Then or If/Then/Else
; 0 Select Case
;
;------------------------------------------------------------------------------
; AEGiS Corp - Break the routines, code against the machines!
;------------------------------------------------------------------------------